package io.renren.modules.PCguanli.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.PCguanli.dao.ExamineRpDao;
import io.renren.modules.PCguanli.entity.ExamineRpEntity;
import io.renren.modules.PCguanli.service.ExamineRpService;


@Service("examineRpService")
public class ExamineRpServiceImpl extends ServiceImpl<ExamineRpDao, ExamineRpEntity> implements ExamineRpService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ExamineRpEntity> page = this.page(
                new Query<ExamineRpEntity>().getPage(params),
                new QueryWrapper<ExamineRpEntity>()
        );

        return new PageUtils(page);
    }

}